<?php
/**
 * 开发环境和线上环境公用的配置
 */
return array(
	'params' => array(
		'globalParams' => array(
            'mobile_version'   => APPVERSION,
            'device_type'      => MOBILEOS,
            'channel'          => CHANNEL,
            'device_id'        => DEVICEID,
            'token'            => TOKEN,
            'device_serial_id' => DEVICESERIALID,
            'req_from_mobile'  => 1,
        ),
		'register_reward_bonus' => array(
            'number'       => 60,//注册送奖励金额
            'couponAmount' => 10,//注册送投资券金额
            'bonusAmount'  => 20,//送红包数量
            'period'       => 5,//新人项目投资天数
            'rate'         => 0.1,//新人项目收益率
            'minAmount'    => 1000,//新人起投金额
            'use_limit'    => time()>strtotime('2014-12-31 23:59:59')?0.01:0.03,//红包使用限制,0.01表示最多使用投资金额的1%，1代表使用不受限制
        ),
        'couponUseLimit' => 500,//投资券使用限额
        'mobileBanks' => array(
            array( 'code' => 2,  'name' => '农业银行',     'needBranch' => 0, 'alias' => 'ABC',  'singleLlLimit' => 5  ),
            array( 'code' => 4,  'name' => '工商银行',     'needBranch' => 0, 'alias' => 'ICBC', 'singleLlLimit' => 5  ),
            array( 'code' => 3,  'name' => '建设银行',     'needBranch' => 0, 'alias' => 'CCB',  'singleLlLimit' => 30 ),
            array( 'code' => 6,  'name' => '招商银行',     'needBranch' => 0, 'alias' => 'CMB',  'singleLlLimit' => 30 ),
            array( 'code' => 1,  'name' => '中国银行',     'needBranch' => 1, 'alias' => 'BOC',  'singleLlLimit' => 30 ),
            array( 'code' => 7,  'name' => '浦发银行',     'needBranch' => 0, 'alias' => 'SPDB', 'singleLlLimit' => 5  ),
            array( 'code' => 10, 'name' => '光大银行',     'needBranch' => 0, 'alias' => 'CEB',  'singleLlLimit' => 30 ),
            array( 'code' => 14, 'name' => '平安银行',     'needBranch' => 0, 'alias' => 'SDB',  'singleLlLimit' => 20 ),
            array( 'code' => 11, 'name' => '兴业银行',     'needBranch' => 1, 'alias' => 'CIB',  'singleLlLimit' => 30 ),
            array( 'code' => 15, 'name' => '中国邮储银行', 'needBranch' => 1, 'alias' => 'PSBC', 'singleLlLimit' => 1  ),
            array( 'code' => 9,  'name' => '中信银行',     'needBranch' => 0, 'alias' => 'CITIC','singleLlLimit' => 30 ),
            array( 'code' => 13, 'name' => '华夏银行',     'needBranch' => 1, 'alias' => 'HXB',  'singleLlLimit' => 30 ),
            array( 'code' => 8,  'name' => '广发银行',     'needBranch' => 0, 'alias' => 'GDB',  'singleLlLimit' => 5 ),
            array( 'code' => 12, 'name' => '民生银行',     'needBranch' => 0, 'alias' => 'CMBC', 'singleLlLimit' => 5 ),
        ),
        //银行enum
        'bankcards'=>array(
            1  => '中国银行',
            2  => '农业银行',
            3  => '建设银行',
            4  => '工商银行',
            5  => '交通银行',
            6  => '招商银行',
            7  => '浦发银行',
            8  => '广发银行',
            9  => '中信银行',
            10 => '光大银行',
            11 => '兴业银行',
            12 => '民生银行',
            13 => '华夏银行',
            14 => '平安银行',
            15 => '中国邮储银行',
            16 => '杭州银行',
            17 => '宁波银行',
            18 => '北京银行',
            19 => '东亚银行',
            20 => '上海银行',
            21 => '南京银行',
            22 => '渤海银行',
            23 => '成都银行',
            24 => '上海农商银行',
            25 => '广州市农村信用合作社',
            26 => '广州银行',
            27 => '汉口银行',
            28 => '晋商银行',
            29 => '珠海市农村信用合作联社',
            30 => '温州银行',
            31 => '尧都信用合作联社',
            32 => '顺德农信社',
            33 => '杭州联合银行'
        ),
        'errorMsg'            => '让我休息下，请稍后再戳',
        'withdrawTimeTip'     => '温馨提示：一天之内（2:00 - 次日2:00）可提现一次',
        'bankCardNotSupport'  => '您原先绑定的银行卡不支持手机端支付，请使用其他银行卡进行充值投资',
        'CCBMaintainTip'      => '提示：建设银行于22:00-24:00数据维护，暂停支付服务',
        'ewalletMinAmount'    => 1,//E钱包起投金额
        'ewalletRate'         => 7,//E钱包年化利率
        'ewalletName'         => '草根钱包',
        'ewalletDetailTip'    => '会生钱的钱包，1元起转',
        'ewalletFee'          => 0,//30天内赎回收取的手续费 0.2表示0.2%
        'ewalletInterestFrom' => 1,//起息日 T+1
        'ewalletRedeemTip'    => '最快0秒，一般1-2天完成转出',
        'ewalletFreeDay'      => 30,//免手续费天数
        'dayRedeemMaxNum'     => 1,//每日最多转出次数
        'needBranchBankIds'   => array('1','11','13','15','17','33','3','8','9','12','14'),//需要开户行的
        'spNeedBranchBankIds' => array('1','11','13','15','17','33'),//盛付通需要开户行的
        'llNeedBranchBankIds' => array('3','8','9','12','14'),//连连需要开户行的
	),
);